<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'appHomepage.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" type="text/css" href="./bamcss/bam.css">
	
	<style type="text/css">
		
	.layer_iframe{
		background-color: #D3D3D3;
		height: 100%;
	}
	</style>
	<script type="text/javascript" src="./plugin/jqueryqrcode/src/jquery.min.js"></script>
<script type="text/javascript">
	$(document).ready(function() {
	 	 $.ajax({
		   type: "get",
		   url: "${pageContext.request.contextPath}/statis/DataCount_ajaxAreaList.action",
		   data: {},
		   dataType:"json",
		   success: function(msg){
			  	var obj = eval("("+msg+")");
			  	var sel = document.getElementById("clarea");
			  	var option  = document.createElement("option");
				for ( var i = 0; i < obj.re.length; i++) {
					sel.options.add(new Option(obj.re[i].areaName,obj.re[i].id));
				}
		    },
	     	error:function(){
	   		alert("系统出错误,请联系技术人员");
		   }
		 });
	 });



function showDiv(divtype,url,title){
		window.parent.showDiv(divtype,url,title); 
}


</script>
  </head>
    		<div class="layer_head">
   			<div class="layer_title">app主页</div>
   			<div class="layer_seekTime">
   				<div id="div1">
	   				<select style="height: 24px;width: 20%; margin: 7% 78%" id="clarea" onchange="dataSubmit()">
	   					<option value="90">全区域</option>
	   				</select>
	   			</div>	
	   		</div>
			<div style="clear: both;"></div>
   		</div>
   		<hr>
   		<div class="layer_zhuti" style="height: 87%">
   			<iframe  id="iframe" class ="layer_iframe" name="wrap_iframe" src="${pageContext.request.contextPath}/adver/Page_pageHome.action"
   					style="background-color: #DCDCDC" frameborder=0 ></iframe>
  		</div>
  <body>
  
  </body>
</html>
